export default ( http ) => ({
	view (query = {}) {
		return http.request({
			method: 'GET',
			url: '/article/view',
			params: query
		})
	},
	content (query = {}) {
		return http.request({
			method: 'GET',
			url: '/article/content',
			params: query
		})
	},
})